package com.deram.ctin.serv.member.api;

import com.deram.ctin.common.bean.PageResult;
import com.deram.ctin.serv.member.entity.MemberFeedback;
import com.deram.ctin.serv.member.entity.MemberInfo;
import com.deram.ctin.serv.member.filter.MemberFeedbackFilter;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * @Author: jtt
 * @Description:
 * @Date: 2017/9/21 17:55
 * @version: V1.0
 */
@FeignClient("serv-member")
@RequestMapping("/memberInfoApi")
public interface MemberInfoApi {

    @GetMapping("/find")
    MemberInfo find(@RequestParam("userId") Long userId);

    @PostMapping("/save")
    MemberInfo save(@RequestBody MemberInfo param);
}
